package com.zmn.oms.common.dio.normal.captcha;

import com.zmn.oms.common.dio.OmsAppBaseDIO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ToString(callSuper = true)
public class GetVerificationCodeDIO extends OmsAppBaseDIO implements Serializable {

    /**
     * 手机号 部分服务商对应订单，发送号码可以为空
     */
    @ApiModelProperty(value = "手机号", required = true)
//    @NotNull(message = "手机号不能为空")
    private String userPhoneNum;

    /**
     * 验收id
     */
    @ApiModelProperty(value = "验收ID", required = true)
    @NotNull(message = "验收ID不能为空")
    private Long acceptanceId;


}
